const app = getApp();
import HttpRequst from '../../utils/httpRequst.js'
import API from '../../utils/config.js'
Page({

  /**
   * 页面的初始数据
   */
  data: {
    info:""
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that=this;
    HttpRequst(true, API.tiXian, 1, app.getUkey(),"", "POST", false, function (res) {
        that.setData({
          info:res.data
        })
    })
  },
  logout:function(){
    app.logout();
  }
  
})